/*
** my.h for  in /u/all/vanet_c/rendu/include
** 
** Made by charles-edouard vanet
** Login   <vanet_c@epitech.net>
** 
** Started on  Thu Oct 11 09:15:57 2012 charles-edouard vanet
** Last update Tue Dec 11 19:53:11 2012 charles-edouard vanet
*/

#ifndef		__MY_H__
# define	__MY_H__

# ifndef	__GNL_H__
#  define	__GNL_H__

#  define	GNL_MAX_READ	500

char	*get_next_line(const int fd, int file_nb);

# endif

void	my_putchar(char c);
int	my_int_putchar(int c);
void	my_fd_putchar(char c, const int fd);
void	my_putstr(char *str);
void	my_iputstr(char *str);
void	my_stderror(char *str);
char	*my_realloc(char *oldptr, const int new_size);
char	*my_convert_base(char *nbr, char *base_from, char *base_to);
int	my_getnbr_base(char *str, char *base);
int	my_power_rec(int nb, int power);
char	*my_strcat(char *dest, char *src);
int	my_strcmp(char *s1, char *s2);
char	*my_strcpy(char *dest, char *src);
char	*my_strdup(char *src);
int	my_strlen(char *str);
int	my_char_is_num(char c);
void	my_error(char *begin_err, char *name, char *end_err, int is_exit);
void	my_free_tab(char **my_tab);
void	my_put_nbr(int nb);
int	my_char_is_alpha(char c);
char	**my_str_to_wordtab(char **tab, char *src, char *charcut);
int	my_strncmp(char *s1, char *s2, int n);
void	my_put_nbr_error(int nb);
int	my_getnbr(char *str);
#endif
